import request from '@/utils/request';

// 查询操作日志详细
export function queryById(id) {
  return request({
    url: '/monitor/operLog/queryById/' + id,
    method: 'get',
  });
}

// 分页查询操作日志列表
export function pageList(query) {
  return request({
    url: '/monitor/operLog/pageList',
    method: 'get',
    params: query,
  });
}

// 清理操作日志
export function cleanOperLog() {
  return request({
    url: '/monitor/operLog/clean',
    method: 'delete',
  });
}
